<%-- 
    Document   : menu
    Created on : 03-mar-2012, 17:52:19
    Author     : jaime
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ page language="java"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<ul>    
    <c:if test="${usuario.estados.idestado == 1}">
        <li class="alignright"><html:link action="menuAdministracion.do"><bean:message key="global.admin"/></html:link> 
        </c:if>
        <li class="alignright"><html:link href="listexercise.do?idTema=${temaActual}"><bean:message key="ejercicios.planeta"></bean:message>&nbsp;${titTema}</html:link><br>
    <li class="alignright"><html:link action="/myExercises"><bean:message key="ejercicios.txt"/></html:link>
    <li class="alignright"><html:link action="/getFriendList"><bean:message key="amigos.txt"/></html:link>
    <li class="alignright"><html:link action="/getMessageList"><bean:message key="mensajes.txt"/></html:link>        
    <li class="nuevo"><html:link action="getRanking.do"><bean:message key="global.ranking"/></html:link>        
    <li class="nuevo"><html:link action="newExerJsp.do"><bean:message key="menu.nuevo"/></html:link>
</ul>
